<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
    <title>{cscms:title}</title>
    <meta name="Keywords" content="{cscms:keywords}" />
    <meta name="Description" content="{cscms:description}" />
    <link rel="shortcut icon" href="{cscms:path}favicon.ico" />
    <link rel="stylesheet" href="{cscms:webpath}packs/font/font.css">
    <link rel="stylesheet" type="text/css" href="{cscms:tempurl}css/pic.css"/>    
    <script type="text/javascript" src="{cscms:tempurl}js/user.js"></script>
</head>
<body>
    {cscms:head}
    {cscms:right}
    <div class="layui-tab layui-tab-card layui-tab-min" lay-filter="dt1" style="margin-top: 0px;margin-bottom: 0px">
        <ul class="layui-tab-title">
            <li><a href="[user:url userlink=pic,type]">已审相册</a></li>
            <li><a href="[user:url userlink=pic,verify]">待审相册</a></li>
            <li class="layui-this"><a href="[user:url userlink=pic]">我的图片</a></li>
            <a style="float: right;margin-right: 5px;margin-top: 5px" href="[user:url userlink=pic,add]" class="layui-btn layui-btn-small layui-btn-danger">上传</a>
        </ul>
        <div class="layui-tab-content" style="padding:0px;background-color: #fff">
            <div class="layui-tab-item layui-show">
                <div class="layui-tab layui-tab-brief">
				    <ul class="layui-tab-title">
				    	<li{if:[pic:yid]==0} class="layui-this"{end if}><a class="colord" href="[user:url userlink=pic,index]/[pic:cid]">已审核</a></li>
				    	<li{if:[pic:yid]==1} class="layui-this"{end if}><a class="colord" href="[user:url userlink=pic,index]/[pic:cid]/1">待审核</a></li>
				        <li{if:[pic:cid]==0} class="layui-this"{end if}><a href="[user:url userlink=pic,index]">全部类型</a></li>
                        {cscms:class table="pic_list" order="asc"}
						<li{if:[pic:cid]==[class:id]} class="layui-this"{end if}><a href="[user:url userlink=pic,index]/[class:id]">[class:name]</a></li>
                        {/cscms:class}
                        
				    </ul>
				    <style type="text/css">
						.layui-table td, .layui-table th{padding: 9px 10px;}
                        .layui-form-checkbox span{padding: 0px}
                        .layui-form-checkbox[lay-skin=primary]{margin-top: 0px}
				    </style>
				    <div class="layui-tab-content" style="padding: 10px;padding-right: 0px">
				    	<form class="layui-form" action="[user:url userlink=pic,del]" method="post" style="overflow: hidden;">
				        {cscms:pic table="pic" pagesize="16" user="auto" sort="addtime" order="desc"}
				        	<li class="picXc_one" {if:[pic:i]%4==0}style="margin-right:0px"{end if}>
				        		<a class="picXc_img" target="_blank" href="[pic:url zdy=pic,sid,show,id]"><img src="[pic:pic dir=pic]" alt="[pic:name]"></a>
				        		<div class="picXc_more">
                                    <input id="validate[pic:id]" lay-skin="primary" class="xuan" title="选择"  type="checkbox" value="[pic:id]" name='id[]'/>
                                    <a title="删除图片" style="color:#666;margin-right: 5px" href="javascript:user.delTips('[user:url userlink=pic,del]/[pic:id]')"><i class="fa fa-trash-o"></i></a>
                                    <a title="修改图片介绍" style="color:#666;" href="javascript:user.pic_intro([pic:id]);"><i class="fa fa-pencil"></i></a>
                                </div>
				        	</li>
				        {/cscms:pic}
				        <div style="clear: both;{if:{cscms:pagedata}==0}display: none;{end if}"><a class="layui-btn layui-btn-small" href="javascript:user.select_all();"><i class="layui-icon">&#xe605;</i>全部选中</a><button class="layui-btn layui-btn-danger layui-btn-small" lay-submit lay-filter=""><i class="layui-icon">&#x1006;</i>删除选中</button></div>
						{if:{cscms:pagedata}==0}<div class="zanwu">暂无数据！</div>{end if}
						</form>
						<div class="page" style="text-align: center;{if:{cscms:pagecout}<2}display: none;{end if}">
                            <div class="layui-box layui-laypage layui-laypage-default" id="layui-laypage-0">
                                <a href="{cscms:pageup}" class="layui-laypage-last" title="上一页">上一页</a>
                                {cscms:pagenum len=6}
                                <a href="{cscms:pagedown}" class="layui-laypage-next">下一页</a>
                            </div>
                       </div>
				    </div>
				</div>
            </div>
        </div>
    </div>
{cscms:bottom}
</body>
</html>